-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: blazingly fast #7799
perf: blazingly fast #7799
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise very sane, will do second pass of runtime testing before giving final stamp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested a couple of migrations and they worked as expected / properly rehydrated!
41895f2
to
de470e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Regeneration assets is properly creating a new line inside
clearAssetsMigrations
- Assets migration seems to be working as expected
- Rehydration also seems to work as expected
I had a problem with the history of BTC but as seen in pm, it doesn't look linked with this PR
We have to take a lot of care with this PR because it will be pretty hard to revert if we push it to production, people would end in a borked state (I did try to come back to develop and I had to flush my cache to make it work)
Description
Attempt 1 at redux perf. improvements
Issue (if applicable)
Risk
High - touches state. Getting this wrong could brick state, and we'd have to revert this and do a nuke of the whole state.
Testing
Engineering
NOTE: Ensure you check for slice state after rehydration (i.e
{rehydrated: true}
for the slice/s you're migrating) to ensure redux-persist rehydrated with your migration:Operations
Screenshots (if applicable)
https://jam.dev/c/6fee8b7a-97d8-48b0-b420-b04f3ef008b4